﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core
{
    /// <summary>
    /// Represents a link to another entry in the cofe system.
    /// </summary>
    public interface IEntryLink : ICofeSystemInfo
    {
        /// <summary>
        /// Convert the current entry link to entry, you can convert back using As&lt;IEntryLink&gt;()
        /// </summary>
        ICofeSystemInfo Entry { get; }

        /// <summary>
        /// Remove the current link, does not remove the entry from cofe system.
        /// </summary>
        /// <returns></returns>
        void DeleteLink();
    }
}
